cmake_minimum_required(VERSION 3.22)
project(c10d_001)

set(CMAKE_CXX_STANDARD 14)
add_compile_options(-g)
add_compile_options(-D_GLIBCXX_USE_CXX11_ABI=0)
add_link_options(-g)

add_executable(c10d_001 main.cpp)

include_directories(/usr/local/include)
include_directories(include)
add_subdirectory(distributed)
target_link_libraries(c10d_001 torch_npu)

add_subdirectory(demo)
add_subdirectory(test)